#ifndef COLOR_H
#define COLOR_H

struct Color {
	Color(void);
	Color(double, double, double, double = 1.0);
	Color(const Color &);
	~Color(void);

    void print() const;

	Color &operator=(const Color &);
	double operator[](int &) const;
	Color operator+(const Color &) const;
	Color operator*(const Color &) const;
	Color operator-(const Color &) const;
	Color operator/(const Color &) const;

	double red, green, blue, alpha;
};

Color operator*(const Color &, const double);
Color operator*(const double, const Color &);

#endif
